#ifndef COMMONS_H
#define COMMONS_H
#define PI 3.14159265

class QPointF;

class AppManager;
class BaseDialog;
class ButtonItem;
class Canvas;
class DialogItem;
class GraphJudger;
class ImageItem;
class InputBox;
class IOManager;
class Level;
class LevelBrowser;
class LevelEditor;
class LevelItem;
class LevelManager;
class Line;
class MainMenu;
class Playground;
class Point;
class SaveLevelDialog;
class Version;

namespace commons
{
    enum CanvasState_
    {
        DEFAULT,
        LINE,
        POINT,
        LINE_DRAWING,
        POINT_MOVING,
        LINE_MOVING,
        PLAYING,
        SOLVED
    };
};

typedef commons::CanvasState_ CanvasState;
typedef QPointF DistanceF;
typedef unsigned char byte;

#endif // COMMONS_H
